package com.example.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.reggie.entity.ShoppingCart;

import java.util.List;


public interface ShoppingCartService extends IService<ShoppingCart> {

    ShoppingCart add(ShoppingCart shoppingCart);

    List<ShoppingCart> listByUser();

    ShoppingCart sub(ShoppingCart shoppingCart);

    void clean();
}
